package com.penghk.springbootdemo.controller;

import com.penghk.springbootdemo.entity.People;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class ConverterController {

    @RequestMapping(value = "/convert" , produces = {"application/x-wisely"} , method = RequestMethod.POST)
    public @ResponseBody People convert(People people) {
        return people;
    }
}
